package com.jse.exception;

import static java.lang.String.format;

public class JseException extends RuntimeException {
	
	private static final long serialVersionUID = 1L;

	public JseException(String format, Object... args) {
        super(format(format, args));
    }

    public JseException(String msg, Throwable e) {
        super(String.format(msg, e.getMessage()), e);
    }

	public JseException(Throwable e) {
		super(e);
	}

}
